﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ComponentModel.DataAnnotations.Schema;
using DapperExtensions.Mapper;

namespace LS.Entitys
{
    /// <summary>
    ///消息内容实体类
    /// </summary>
    [Table("sys_notify_content")]
    public class SysNotifyContentEntity:EntityBase
    {
       
        /// <summary>
        /// 发送者编号
        /// </summary>
        public string SenderId { get; set; }
        /// <summary>
        /// 私信内容
        /// </summary>
        public string Content { get; set; }
        /// <summary>
        /// 通知类型 0=通知 1=私信 3=代办
        /// </summary>
        public int NotifyType { get; set; }
        /// <summary>
        /// 发送时间
        /// </summary>
        public DateTime? CreateDate { get; set; }

    }
    public class SysNotifyContentEntityMapper : ClassMapper<SysNotifyContentEntity>
    {
        public SysNotifyContentEntityMapper()
        {
            Table("sys_notify_content");
            AutoMap();
        }
    }
}
